#include "StdAfx.h"
#include ".\WorldGuildMember.h"

__IMPL_GUILDPOOL(WorldGuildMember)
WorldGuildMember::WorldGuildMember(void)
{
}

WorldGuildMember::~WorldGuildMember(void)
{
}

VOID WorldGuildMember::Init( const GUILD_MEMBER_INFO & IN rInfo )
{
	memcpy( &m_Info, &rInfo, sizeof(GUILD_MEMBER_INFO) );
}

VOID WorldGuildMember::GetPacketInfo(PACKET_FOR_GUILD_MEMBER& MemberInfo)
{
	MemberInfo.m_byClass = m_Info.m_byClass;
	MemberInfo.m_byOnline = m_Info.m_byIsLogin;
	MemberInfo.m_byPosition = m_Info.m_byPosition;
	MemberInfo.m_LV = m_Info.m_LV;
	memcpy( MemberInfo.m_tszCharName, m_Info.m_tszCharName, sizeof(MemberInfo.m_tszCharName) );
}
